It is only supposed to be visible when Software is installed, but
we currently only update the visibility on changes.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/989
});
this._appSystem.connect('installed-changed', () => {
- let sw = this._appSystem.lookup_app('org.gnome.Software.desktop');
- this._detailsItem.actor.visible = (sw != null);
+ this._updateDetailsVisibility();
});
+ this._updateDetailsVisibility();
+ }
+
+ _updateDetailsVisibility() {
+ let sw = this._appSystem.lookup_app('org.gnome.Software.desktop');
+ this._detailsItem.actor.visible = (sw != null);
}
isEmpty() {